/*
 * @Descripttion: 合同条款
 * @version: V1.0
 * @Author: GaoWei
 * @Date: 2021-04-25 12:11:55
 * @LastEditors: GW
 * @LastEditTime: 2021-10-22 10:18:15
 */
import { axios } from '../../utils/request'

const api = {
    groupList: '/cm/contractClause/getList',  //列表
    groupDelete: '/cm/contractClause/delete', //删除
    groupSave: '/cm/contractClause/save',     //保存
}

export function list (data) {
    return axios({
        url: api.groupList,
        method: "GET",
        params: data
    })
}

export function remove (data) {
    return axios({
        url: api.groupDelete,
        method: "DELETE",
        params: data
    })
}
export function save (data) {
    return axios({
        url: api.groupSave,
        method: "post",
        data: data
    })
}